﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.WMS.Entitys;

/// <summary>
/// 出库明细实体.
/// </summary>
[SugarTable("wms_busi_shipping_plan_detail","出库明细")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiShippingPlanDetailEntity: CLDEntityBase
{
    /// <summary>
    /// 主表id.
    /// </summary>
    [SugarColumn(ColumnName = "F_ShippingId",ColumnDescription = "主表id")]
    public string ShippingId { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId",ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode",ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName",ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 规格.
    /// </summary>
    [SugarColumn(ColumnName = "F_Specification", ColumnDescription = "规格")]
    public string Specification { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty",ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 单位.
    /// </summary>
    [SugarColumn(ColumnName = "F_Unit",ColumnDescription = "单位")]
    public string Unit { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remark",ColumnDescription = "备注")]
    public string Remark { get; set; }
}